.f-preset-component {
    display: flex;
    font-size: 12px;
    margin-top: 8px;
    width: 280px;

    .color-preset__colors {
        display: flex;
        flex: 1;
        flex-wrap: wrap;

        .color-preset__color-selector {
            margin: 0 0 8px 8px;
            width: 20px;
            height: 20px;
            border-radius: 4px;
            cursor: pointer;

            &:nth-child(10n + 1) {
                margin-left: 0;
            }

            &.selected {
                box-shadow: 0 0 3px 2px #409eff;
            }

            div {
                display: flex;
                height: 100%;
                border-radius: 3px;
            }
        }
    }
}